@import "variable";
@import "../../dist/css/sprite";
//@import "../font/font-awesome-4.7.0/less/font-awesome";

//溯源列表表格内的详情
.sylist-detail{
  height: 100%;
  .growth-info{
    height: 100%;
  }
  .detect-info{
    .detect-tab{
      .detect-tab-btns{
        height: 40px;
        .detect-btn+.detect-btn{
          margin-left: 1%;
        }
        .detect-btn{
          float: left;
          width: 24.25%;
          .line-height(32px);
          border: @border;
          text-align: center;
          font-size: 14px;
          cursor: pointer;
          user-select: none;
        }
        .this-btn{
          color: @green;
          border-color:@green;
        }
      }
      .detect-tab-contents{

      }
    }
  }
}
//货物信息
.goods-info{
  .goods-info-img,.goods-info-text{
    float: left;
  }
  .goods-info-img{
    width: 250px;
    height: 250px;
    border: @border;
    cursor: pointer;
  }
  .goods-info-text{
    width: 630px;
    padding-left: 15px;
  }
}

//加工工序审核弹出框
.processing-audit{

}
//加工工序表格内的详情

.processing-detail{

}

//溯源申请待审核
.defense-list{
  .defense-search{
    padding:0;
    box-shadow: none;
    border: none;
    .com-form-input{
      width: auto;
    }
    .com-form-btn{
      bottom: 9px;
    }
  }
}
//溯源申请详情
.syapply-detail{
  .temp-info{
    .temp-img{
      width: auto;
      height: auto;
    }
  }
}


//溯源模板
.temp-row{
  .temp-col4{
    float: left;
    width: 33.33%;
  }
}
.temp-item{
  text-align: center;
  .temp-img{
    width: 320px;
    height: 240px;
    margin: 0 auto;
  }
  .temp-inputs{
    line-height: 28px;
    input,span{
      .vertical;
      margin:0 2px;
    }
    span{
      font-size: 16px;
      user-select: none;
    }
  }
  .temp-text{
    font-size: 14px;
    .temp-mark{
      margin-right: 15px;
    }
    .temp-money{
      color: @red;
    }
  }
}
//溯源模板添加、修改按钮
.sytemp-add{
  .layui-form-item{
    margin-bottom: 20px;
    .layui-form-label{
      line-height: 38px;
    }
  }
  .upload-box{
    float: left;
    margin-left: 10px;
    .sytemp-img-box{
      .img-box{
        position: relative;
        float: left;
        margin-right: 5px;
        .upload-btns{
          position: absolute;
          top:0;
          left: 0;
          width: 100%;
          height: 30px;
          background: rgba(255,255,255,.5);
          .upload-close {
            position: absolute;
            right: 7px;
            top: 7px;
            .sprite(@btn-close);
            cursor: pointer;
          }
        }

      }
    }
    .upload-opt{
      >div{
        float: left;
      }
      .opt-btn{
        .line-height(24px);
        margin-top: 6px;
        margin-left: 5px;
        padding: 0 10px;
        cursor: pointer;
        background: #00a158;
        color: #fff;
        border-radius: 3px;
        transition: .2s;
        user-select: none;
        &:hover{
          background: #33b837;
        }
      }
    }
  }
  .sytemp-money{
    width: 80px;
    >span{
      position: absolute;
      right: -25px;
      top: 9px;
    }
  }
}
//溯源模板详情按钮
.sytemp-particulars{
  >div{
    float: left;
    width: 50%;
  }
  .particulars-img{
    text-align: center;
  }
  .particulars-text{
    padding-left: 4%;
    .particulars-item{
      font-size: 14px;
      margin-bottom: 30px;
      sub{
        color: #ff0000;
      }
    }
  }
}

/*头像上传裁剪效果
.upimg-box {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  .box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
  }
  .box-content {
    position: absolute;
    width: 600px;
    height: 475px;
    left: 50%;
    top: 50%;
    margin-top: -236px;
    margin-left: -300px;
    z-index: 10;
    background-color: #fff;
    padding: 15px;
    .img-box {
      position: relative;
      height: 400px;
      width: 400px;
      overflow: hidden;
      cursor: move;
      .thumb-box {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px;
        height: 200px;
        margin-top: -100px;
        margin-left: -100px;
        box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
        background: none repeat scroll 0 0 transparent;
        border-radius: 50%;
      }
      .spinner {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        text-align: center;
        line-height: 400px;
        background: rgba(0, 0, 0, 0.7);
      }
    }
    .img-action {
      margin-top: 15px;
      line-height: 30px;
      font-size: 14px;
      color: #FFFFFF;
      >button {
        display: inline-block;
        .line-height(30px);
        padding: 0 15px;
        background-color: @green;
        border-radius: 4px;
        cursor: pointer;
      }
    }
  }
  .cropped {
    position: absolute;
    width: 170px;
    text-align: center;
    right: 5px;
    top: 15px;
    color: #333;
    .big-img {
      height: 267px;
      padding-top: 35%;
    }
    .small-img {
      height: 133px;
    }
    span {
      display:block;
      margin:5% 0 30%;
    }
    img {
      display: none;
      border-radius: 50%;
      border: 1px solid #f5f5f5;
    }
  }
}*/

.webuploader-container {
  position: relative;
}
.webuploader-element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  visibility: hidden;
}
.webuploader-pick {
  /*position: relative;
  display: inline-block;
  height: 24px;
  margin-top: 6px;
  padding: 0 10px;
  cursor: pointer;
  line-height: 24px;
  background: #00a158;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  overflow: hidden;
  transition: .2s;*/
}
.webuploader-pick-hover {
  /*background: #33b837;*/
}
.webuploader-pick-disable {
  /*opacity: 0.6;
  pointer-events: none;*/
}



//天气界面
.wea-box{
  //position: relative;
  padding: 1%;
  .wea-title{
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
  }
  .wea-btns{
    padding: 10px 0;
    >button{
      width: 100px;
      height: 30px;
      text-align: center;
      font-size: 16px;
      line-height: 28px;
      background-color: #fff;
      border: @border;
      transition: .2s;
      &:hover{
        background-color: @blue;
        color: #fff;
        border: none;
      }
    }
    .on{
      background-color: @blue;
      border: none;
      color: #fff;
    }
  }
  .wea-today{
    height: 260px;
    .wea-detail,.wea-timeline{
      height: 260px;
      border: @border;
    }
    .wea-detail{
      float: left;
      width: 42%;
    }
    .wea-timeline{
      float: right;
      width: 57%;
    }
  }
  .wea-warning{
    padding:1%;
    border: @border;
    min-height: 250px;
  }
}
